package com.suyuan.vo;

import com.suyuan.entity.CompanyInfo;
import com.suyuan.entity.DepartmentInfo;
import com.suyuan.entity.EmployeeInfo;

import java.io.Serializable;

/**
 * 企业员工VO
 */
public class EmployeeVO implements Serializable {

    /**
     * 员工
     */
    private EmployeeInfo employee;

    /**
     * 公司
     */
    private CompanyInfo company;

    /**
     * 部门
     */
    private DepartmentInfo department;

    public EmployeeVO(EmployeeInfo employee, CompanyInfo company, DepartmentInfo department) {
        this.employee = employee;
        this.company = company;
        this.department = department;
    }

    public EmployeeInfo getEmployee() {
        return employee;
    }

    public void setEmployee(EmployeeInfo employee) {
        this.employee = employee;
    }

    public CompanyInfo getCompany() {
        return company;
    }

    public void setCompany(CompanyInfo company) {
        this.company = company;
    }

    public DepartmentInfo getDepartment() {
        return department;
    }

    public void setDepartment(DepartmentInfo department) {
        this.department = department;
    }

    @Override
    public String toString() {
        return "EmployeeVO{" +
                "employee=" + employee +
                ", company=" + company +
                ", department=" + department +
                '}';
    }
}
